package com.xmtlxx.wms.domain.bo;

import com.xmtlxx.common.core.domain.BaseEntity;
import com.xmtlxx.oms.domain.vo.BoxVo;
import com.xmtlxx.wms.domain.vo.PickDtlVo;
import com.xmtlxx.system.domain.SysOss;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * 挑拣任务业务对象 t_pick
 *
 * @author xmtlxx
 * @date 2022-08-15
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("挑拣任务业务对象")
public class PickBo extends BaseEntity {

    /**
     * 条件任务ID
     */
    @ApiModelProperty(value = "条件任务ID")
    private String id;

    /**
     * 出库单ID
     */
    @ApiModelProperty(value = "出库单ID")
    private String wid;

    /**
     * 仓库ID
     */
    @ApiModelProperty(value = "仓库ID")
    private String storeId;

    /**
     * 部门ID
     */
    @ApiModelProperty(value = "部门ID")
    private Long deptId;

    /**
     * 任务编号
     */
    @ApiModelProperty(value = "任务编号")
    private String pickNo;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private String status;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
    private String memo;

    /**
     * 图片附件
     */
    @ApiModelProperty(value = "图片附件")
    private String pics;

    /**
     * 挑拣员
     */
    @ApiModelProperty(value = "挑拣员")
    private Long operator;

    /**
     * 完成时间
     */
    @ApiModelProperty(value = "完成时间")
    private Date finishTime;

    /**
     * 接收人
     */
    @ApiModelProperty(value = "接收人")
    private String acceptUser;

    /**
     * 接收时间
     */
    @ApiModelProperty(value = "接收时间")
    private Date acceptTime;

    /**
     * 接收状态
     */
    @ApiModelProperty(value = "接收状态")
    private String acceptStatus;

    /**
     * 删除标识
     */
    @ApiModelProperty(value = "删除标识")
    private String delFlag;

    @ApiModelProperty(value = "数量")
    private Long nums;

    private String areaId;

    @ApiModelProperty(value = "挑拣明细")
    private List<PickDtlVo> items;

    @ApiModelProperty(value = "图片附件")
    private List<SysOss> oss;

    private String exno;

    private Long userId;

    private String taskId;

    //打包数据
    private List<BoxVo> boxList;


    /**
     * 搜索条件
     */
    private String pno;
    private String pname;

    private String dealId;

    private String password;

    //库存删减类型 0-不删减 1-删减
    private String pickType;

    private String proKey;
}
